Skip to content

Clarify ReScript licensing (runtime is MIT)#8248

Merged
cristianoc merged 4 commits intomasterfrom
stdlib-license
Feb 26, 2026
Merged

Clarify ReScript licensing (runtime is MIT)#8248
cristianoc merged 4 commits intomasterfrom
stdlib-license

Conversation

@cknitt
Copy link
Member

@cknitt cknitt commented Feb 17, 2026

For broader adoption of ReScript, it is important to have the runtime/stdlib licensed under a permissive Open Source license (MIT) that does not restrict commercial use via the LGPL linking clause.

The compiler itself is derived from the OCaml compiler and therefore licensed under LGPL.

Already licensed under MIT, but not currently labeled as such:

For the remainders of the old standard library, including the Belt modules, we contacted the original author Hongbo Zhang and got his ok to relicense them under MIT license, too.

This PR clarifies the licensing situation accordingly and sets the appropriate SPDX license expressions in the various package.json files.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 17, 2026

Open in StackBlitz

rescript

npm i https://pkg.pr.new/rescript-lang/rescript@8248

@rescript/darwin-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-arm64@8248

@rescript/darwin-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-x64@8248

@rescript/linux-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-arm64@8248

@rescript/linux-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-x64@8248

@rescript/runtime

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/runtime@8248

@rescript/win32-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/win32-x64@8248

commit: 8b77400

@cknitt cknitt marked this pull request as ready for review February 26, 2026 08:19
@cknitt cknitt requested a review from cristianoc February 26, 2026 08:19
@cristianoc cristianoc merged commit 6002048 into master Feb 26, 2026
50 of 51 checks passed
@cristianoc cristianoc deleted the stdlib-license branch February 26, 2026 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants